Defines selection type.

<div class="definition">
    String, default = 'row'
</div>

Selection type can be either 'row' or 'cell'. The default is 'row' that defines row selection, where user can select complete rows.
However, you can created excel like grids if you define selection type as 'cell'.
<div style="height: 10px"></div>

Selection type should be defined during object creation.
<textarea class="javascript">
let grid = new w2grid({
    name : 'grid',
    selectType : 'cell',
    columns : [
        { field: 'recid', text: 'ID', size: '50px' },
        { field: 'lname', text: 'Last Name', size: '30%' },
        { field: 'fname', text: 'First Name', size: '30%' },
        { field: 'email', text: 'Email', size: '40%' },
        { field: 'sdate', text: 'Start Date', size: '120px' },
        { field: 'sdate', text: 'End Date', size: '120px' }
    ],
    searches : [
        { field: 'recid', text: 'ID (int)', type: 'int' },
        { field: 'id', text: 'ID (float)', type: 'float' },
        { field: 'fname', text: 'First Name', type: 'text' },
        { field: 'lname', text: 'Last Name', type: 'text' },
        { field: 'email', text: 'Email', type: 'list',
            items: ['vitali@gmail.com', 'jim@gmail.com'] },
        { field: 'sdate', text: 'Date', type: 'date' }
    ]
});
</textarea>